package com.luo.backend.dto;

import javax.validation.constraints.NotBlank;

/**
 * 用户登录请求DTO
 */
public class LoginRequest {
    
    @NotBlank(message = "用户名或邮箱不能为空")
    private String username;
    
    @NotBlank(message = "密码不能为空")
    private String password;
    
    private Boolean remember = false;
    
    // 构造函数
    public LoginRequest() {}
    
    // Getters and Setters
    public String getUsername() {
        return username;
    }
    
    public void setUsername(String username) {
        this.username = username;
    }
    
    public String getPassword() {
        return password;
    }
    
    public void setPassword(String password) {
        this.password = password;
    }
    
    public Boolean getRemember() {
        return remember;
    }
    
    public void setRemember(Boolean remember) {
        this.remember = remember;
    }
}

